package com.xianggu.Collection.demo;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;

/**
 * @author chengjy
 * @date 2025/4/3
 */
class MathDemo {
    public static void main(String[] args) {
        HashSet<Integer> list = new HashSet<>();

        for (int i = 0; i < 100; i++) {
            int b = 11;
            int var = i & b;
            list.add(var);
            System.out.println(String.format("%s & %s = %s" , i , b , (i & b)) );
        }

        System.out.println(list);
    }
}
